<template>

    <div class="m-style have-nav">
        <blockIndexNavBar :title="'培训列表'"></blockIndexNavBar>
        <m_pageList
            ref="pageList"
            :url="url"
            :cols="cols"
        >
            <template v-slot="scope">
                <strong>{{ scope.row.plan_name }}</strong>
            </template>
        </m_pageList>
    </div>
</template>

<script>
import blockIndexNavBar from "@/components/blockIndexNavBar";
import LeeCard from "@/uitl/card";
import {API_URL} from "@/config/urlInfo";
import m_pageList from "@/uitl/m_pageList";

export default {
    name: "recordingList",
    components: {
        LeeCard,
        blockIndexNavBar,
        m_pageList
    },
    data() {
        return {
            url: API_URL.recordingList,
            cols: {
                show: [
                    {title: '培训计划名称', field: 'plan_name'},
                    {title: '受训人', field: 'training_user'},
                    {title: '培训费用', field: 'training_fees'},
                    {title: '培训机构', field: 'training_institution'},
                    {title: '开始培训时间', field: 'start_time'},
                    {title: '结束培训时间', field: 'end_time'},
                ],
                // hide: [
                //
                // ]
            },
        };
    },
}
</script>

<style scoped lang="less">
.search-btn {
    .van-button {
        width: 48%;
        margin-right: 1%;
    }

    background: #fff;
    text-align: center;
    padding: 11px 0;
}

.list-btn {
    .van-button {
        width: 45%;
        margin-right: 2%;
        float: right;
    }
}

.wt-card {
    margin: 0.4rem;
    background: #fff;
    overflow: hidden;
    border-radius: 0.3rem;
    padding: 0.4rem;
    box-shadow: 0 0 0.2rem #ccc;
    border-bottom: 0.1rem solid #ccc;
}


.icons-warp {
    border-radius: 25px;

    .float-icon-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 50px;
        height: 50px;

        img {
            width: 25px;
            height: 25px;
            margin-bottom: 3px;
        }

        span {
            font-size: 9px;
            color: #666666;
        }
    }
}

</style>
